package com.atguigu.gmall.all.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * description:
 * create by sxy 2021/5/12
 */
@Controller
public class HelloController {
    //测试
    @GetMapping("hello")
    public  String hello(Model model) {
        model.addAttribute("hello", "世界你好啊");
        return "index.html";
    }

}
